package com.xuzimian.globaldemo.spring.core.aop.test;

import org.springframework.stereotype.Service;

@Service
public class PointCutNoArgService {

    public void add(Object p1, Object p2) {
        System.out.println("切点 PointCutService add()");
    }

    public Object delete(Object p1, Object p2) {
        System.out.println("切点 PointCutService delete()");
        return true;
    }

    public void edit(Object p1, Object p2) {
        System.out.println("切点 PointCutService edit()");
        int i = 5 / 0;
    }
}
